#ifndef USB_COMMAND_H
#define USB_COMMAND_H

// comandos que se reciben por usb
#define COMM_BOOTLOAD_REQ       0x3D	// pone al dispo en modo bootoader.
#define COMM_GET_CLOCK          0x1D
#define COMM_LED_ON             0xB2
#define COMM_LED_OFF            0x4E
#define COMM_LED_BLINK          0x58
#define COMM_ADC_START          0xC0
#define COMM_ADC_STOP           0xC2

#define	BUFFER_SIZE             512
#define	PACKET_SIZE             64

extern unsigned char xdata Out_Packet[];
extern unsigned char xdata In_Packet[];

void USB_API_ISR (void);
void responder_comandos (void);

void Suspend_Device (void);

#endif//USB_COMMAND_H
